package com.store.controller.xlp;

import com.store.service.xlp.ShopLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import com.store.controller.yzh.IndexBusinessesController;

@Controller
@RequestMapping("/shopLogin_xlp")
public class ShopLoginController {
    @Autowired
    private ShopLoginService shopLoginService;

    @RequestMapping("/toBusinessLogin")
    private String Login(){
        return "/Businesses/shoplogin";
    }

    @RequestMapping("/toRegister")
    private String toRegister(){
        return "/Businesses/register";
    }
    @RequestMapping("/toIndex")
    private String Index(){
        return new IndexBusinessesController().toIndexBusinesses() ;
    }
}
